<%-- 
    Document   : ViewUsersProfiles
    Created on : Mar 31, 2014, 10:03:26 PM
    Author     : Dalia.Aly
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@include file="header.jsp" %> 
<div id="main_content">
    <%@include file="adminmenubar.jsp" %>
    <!-- end of menu tab -->
    <div class="crumb_navigation"> Navigation: <a href="http://all-free-download.com/free-website-templates/">Home</a> &lt; <span class="current">Category name</span> </div>
    <%@include file="adminLeftContent.jsp" %>
    <!-- end of left content -->
    <div class="center_content">
        <div class="center_title_bar">View Profiles </div>
        <div class="prod_box_big">
            <div class="top_prod_box_big"></div>
            <div class="center_prod_box_big">
                <div class="contact_form">
                    <table class="table table-hover">
                        <thead>
                            <tr>
                                <td><h3 style="color: #2a6496"><strong>ID</strong></h3></td>
                                <td><h3 style="color: #2a6496"><strong>Customer Name</strong></h3></td>
                                <td><h3 style="color: #2a6496"><strong>Administration</strong></h3></td>
                            </tr>
                        </thead>
                        <tbody>
                            <c:forEach var="adminData" items="${profiles}">
                                <tr id="tr">
                                    <td><h4 style="color: #357ebd">${adminData.id}</h4></td>
                                    <td><h4 style="color: #357ebd">${adminData.name}</h4></td>
                                    <td>
                                        <div style="position: relative;top:13px;">
                                            <form action="ViewProfileDetails?id=<c:out value="${adminData.id}"/>" method="post">
                                                <input type="submit" class="btn btn-primary btn-xs" value="View" /> </form>
                                        </div>
                                    </td>            
                                </tr>
                            </c:forEach>
                        </tbody>
                    </table>  
                </div>
                <div id="profileData">
                    
                </div>
            </div>
        </div>
    </div>
    <!-- end of center content -->
    <%@include file="admincpanel.jsp" %>

    <!-- end of right content -->
</div>
<!-- end of main content -->
<%@include file="footer.jsp" %>